package com.qixin.modules.eaApplication.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.qixin.modules.eaApplication.entity.EaBusinessApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @Description: 出差申请单
 * @Author: qixin-boot
 * @Date:   2021-07-02
 * @Version: V1.0
 */
public interface EaBusinessApplyMapper extends BaseMapper<EaBusinessApply> {

    List<EaBusinessApply> selectBusinessApplys(Map<String, Object> map);

    @Update("update ea_business_apply set ea_travel_id = null where id = #{id} ")
    void updateByBillId(String id);


}
